package hn.cch.page;

import java.util.List;

/**
 * 分页数据
 *
 * @author CCH
 * @version 2018.09.25
 */

public class PageData<T> {

    //规定页面记录条数
    public static int SIZE = 5;

    //当前页面详细信息
    //记录总数
    private int count;
    //页面页码
    private int code;
    //页面数据
    private List<T> data;

    

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
